package com.lsx.logisticscore.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lsx.logisticscore.entity.Resource;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author: Liang
 * @Date: 2021/12/25
 * @Description:
 */
@Mapper
public interface AdminMapper extends BaseMapper<Resource> {
//     List<Resource> selectResourceByRole(String role);
     List<Resource> selectChildren(Integer parentId);
}
